<template>
  <z-button type="primary" @click="info">Display normal message</z-button>
</template>
<script>
import { message } from '../../../../lib/index.js'
import { defineComponent } from 'vue'

export default defineComponent({
  name: 'MessageDemo1',
  setup() {
    const info = () => {
      message.info('This is a normal message')
    }
    return {
      info,
    }
  },
})
</script>
